====== Installation de Domino (Lotus Domino Server) ======

===== Attention ! Lotus Domino est une marque déposée d'IBM. Son installation est soumise à un copyright et à des licences spécifiques. Ce n'est pas un produit gratuit. =====


<note important> **Prérequis :** Mise à jour du système avec les dernières bibliothèques. Sous ubuntu, sudo apt-get update. Etre connecté en root dans le répertoire où se trouvent les sources. </note>
 
{{tag>Domino Lotus Notes Server Serveur Messagerie IBM BROUILLON}}

====== 1. Préparation de l'installation : ======


Dé"tarez" les fichiers nécessaires. Dans notre exemple :

**C1SQ1EN - IBM Lotus Domino 8.5 Linux for xSeries English.tar**

et

**C1X5WFR - IBM Lotus Domino 8.5.0 Language Pack for AIX, Solaris, Linux on xSeries, Linux on zSeries French.tar**

**En mode graphique :** Clic droit sur l'archive .TAR et "Extraire ici".

**En mode texte :**

     tar -xvf C1SQ1EN\ -\ IBM\ Lotus\ Domino\ 8.5\ Linux\ for\ xSeries\ English.tar 

<note tip>Il suffit de taper "tar -xvf C1SQ1EN" puis appuyer sur la touche de tabulation pour que le reste du texte soit mis automatiquement</note>

Voici ce qui doit défiler à l'écran : 

     linux/domino/
     linux/domino/tools/
     linux/domino/tools/checkminimumos.pl
     linux/domino/tools/install.nls
     linux/domino/tools/PathUtil.pl
     linux/domino/tools/MoveExistingRevision.pl
     linux/domino/tools/checksoftlink.pl
     linux/domino/tools/Lsetup.pl
     linux/domino/tools/os390_script_full.dat
     linux/domino/tools/ShScript.pm
     linux/domino/tools/install.pl
     linux/domino/tools/install.sh
     linux/domino/tools/GetUserId.pl
     linux/domino/tools/SysCmd.pl
     linux/domino/tools/checkos.dat
     linux/domino/tools/ChangeDataSubPermissions.pl
     linux/domino/tools/CheckOwnerGroup.pl
     linux/domino/tools/PerlUtil.pl
     linux/domino/tools/media.inf
     linux/domino/tools/setup.jar
     linux/domino/tools/InstBE.pl
     linux/domino/tools/tty.nls
     linux/domino/tools/CreateSoftLink.pl
     linux/domino/tools/ChangeJavaPermissions.pl
     linux/domino/tools/checkos.pl
     linux/domino/tools/tty.pl
     linux/domino/tools/nui.cfg
     linux/domino/tools/uxrmfile.txt
     linux/domino/tools/InstBE.nls
     linux/domino/tools/uxrmfile64.txt
     linux/domino/tools/ProcessLangFiles.pl
     linux/domino/tools/CdPath.pl
     linux/domino/tools/GetGroupId.pl
     linux/domino/tools/AddSolarisDrivers.pl
     linux/domino/tools/CfgData.pm
     linux/domino/tools/GetPreviousRevision.pl
     linux/domino/tools/setup     linux.bin
     linux/domino/remote_script.dat
     linux/domino/install
     linux/domino/unix_response.dat

Comme on peut le voir, un fichier unix_response.dat est créé. Il peut servir pour l'installation en automatique basé sur fichier "response", appelé mode "silent".

====== 2. Lancement de l'installation : ======

 
Il existe une arborescence de répertoire dans laquelle il faut descendre jusqu'à atteindre les fichiers suivants : 

     root@debian:/home/sources/linux/domino# ls -la
     total 56
     drwxr-xr-x 3 10537 6001  4096 déc  6 15:12 .
     drwxr-xr-x 3 root  root  4096 avr  2 16:31 ..
     -rwxr-xr-x 1 10537 6001  6683 sep  9  2008 install
     -rwxr-xr-x 1 10537 6001  9092 oct 12  2007 remote_script.dat
     drwxr-xr-x 2 10537 6001  4096 déc  6 15:12 tools
     -rwxr-xr-x 1 10537 6001 24561 avr 25  2007 unix_response.dat

Le lancement de l'installation proprement dit se fait par le fichier install. Il faut le lancer avec la commande ./install

<note important>Rappel ! Il faut être connecté en root pour pouvoir lancer l'installation correctement jusqu'au bout !</note>

     root@debian:/home/olivierleteneur/sources/linux/domino# ./install
 
     Lotus Domino for Unix Install Program
     ------------------------------------
     You have to set environment variable DISPLAY to run in graphic mode
     Answer Yes to continue in console mode
     Answer No to exit application.
     Do you want to continue installation in console mode?[Yes]

Répondre //Yes//

     Yes
     Continuing in console mode
     InstallShield Wizard
     
     Initialisation de InstallShield Wizard en cours...
     
     Préparation de Java Virtual Machine en cours...
     ...................................
     ...................................
     ...................................
     ...................................
     ...................................
     ...................................
     ...................................
     ...................................
     ...................................
     ...................................
     ...................................
     ...................................
     ...................................
     ...................................
     ...................................
     ...................................
     ...................................
     ...................................
     ...................................
     ...................................
     .....................
     -------------------------------------------------------------------------------
     Welcome to the InstallShield Wizard for Lotus Domino
     
     The InstallShield Wizard will install Lotus Domino on your computer.
     To continue, choose Next.
     
     Lotus Domino
     
     IBM
     
     http://www.lotus.com
     
     Press 1 for Next, 3 to Cancel or 4 to Redisplay [1] 

On continue en tapant 1
     
     -------------------------------------------------------------------------------
     Contrat de licence logicielle
     
     1. Anglais
     
     2. Français

Entrez le numéro correspondant à la langue de votre choix.
Frimeurs, tapez 1 ; Sérieux, tapez 2 :-)

     
     2
     Contrat de licence logicielle
     Appuyez sur Entrée pour afficher le contrat de licence. Lisez 
     attentivement le contrat avant d'installer le logiciel. Au terme de la
     lecture, vous aurez la possibilité d'accepter ou de refuser le
     contrat de licence. Si vous n'acceptez pas ce contrat, l'installation
     prendra fin et vous ne pourrez pas utiliser le logiciel.
     
     Conditions Internationales d'Utilisation de Logiciels IBM 
      
     Chapitre 1 - Dispositions Générales 
      
     LE TELECHARGEMENT, L'INSTALLATION, LA COPIE, L'ACCES OU 
     L'UTILISATION DU LOGICIEL SERA CONSIDERE COMME UNE
     ACCEPTATION DE VOTRE PART DES DISPOSITIONS DU PRESENT
     CONTRAT. SI VOUS ACCEPTEZ CES DISPOSITIONS POUR LE COMPTE
     D'UNE AUTRE PERSONNE, D'UNE SOCIETE OU D'UNE AUTRE PERSONNE
     MORALE, VOUS CERTIFIEZ AVOIR QUALITE POUR ENGAGER CETTE
     PERSONNE, SOCIETE OU PERSONNE MORALE A RESPECTER CES
     DISPOSITIONS. SI VOUS N'ACCEPTEZ PAS CES DISPOSITIONS,  
     
     - NE TELECHARGEZ PAS, N'INSTALLEZ PAS, NE COPIEZ PAS,
     
     Appuyez sur Entrée  pour continuer à lire le contrat de licence, 
     entrez 1 pour l'accepter, 2 pour le refuser ou 99 pour revenir à
     l'écran précédent.
     
     Pour lire entièrement, taper sur la touche Entrée.
     Pour continuer, taper 1.
     
     Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1] 

On continue en tapant 1
     
     -------------------------------------------------------------------------------
     Selecting the option below allows you to install additional or upgrade existing
     Server Partitions. The existing Program directory must be specified in order
     for new Server Partitions to be created, but it will not be upgraded. Existing
     Data directories do not need to be listed. Only those Data directories
     specified will be upgraded or added. If you wish to add more than one Partition
     to your existing Domino server, check the box when asked if you want to install
     a Partitioned server. Otherwise you will only be able to upgrade or install one
     Data directory. Warning: If you do not have an existing Domino Server on your
     system, please do not check the box below for the option to add data
     directories only.
     
     [ ] 1 - Install Data  Directories Only for Partitioned Domino Server
     
     To select an item enter its number, or 0 when you are finished: [0] 

Suivre les consignes d'installation selon celle décidée (partitionned, entreprise, etc.).

Ici, on a choisi d'installer un serveur non partitionné, en tapant 0 : 

     Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1] 1

On continue en tapant 1

     
     -------------------------------------------------------------------------------
     Lotus Domino Install Location
     
     Please specify a directory or press Enter to accept the default directory.
     
     Program Files Directory Name [/opt/ibm/lotus] 

Il est possible de modifier le répertoire d'installation. Ici, on continue en tapant sur la touche Entrée.

     Server with more than one partition
     Answer Yes to install partitioned server
     Answer No  to install non-partitioned server
     Partitioned Server: [No] 

Dans notre cas, on continue avec la réponse No.

     Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1] 

On continue en tapant 1

     
     -------------------------------------------------------------------------------
     Lotus Domino Install Location
     
     Please specify a directory or press Enter to accept the default directory.
     
     Data Files Directory Name [/local/notesdata] 

Il est possible de modifier le répertoire d'installation des données. Ici, on continue en tapant sur la touche Entrée.

     Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1] 

On continue en tapant 1

     
     -------------------------------------------------------------------------------
     Input Unix/Linux user name and group name panel
     
     User Name [notes] 

On continue en tapant notes ou en tapant sur la touche "Entrée", pour éviter les erreurs.

     Group Name [notes] 

On continue en tapant notes ou en tapant sur la touche "Entrée", pour éviter les erreurs.

     Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1] 

On continue en tapant 1

     
     -------------------------------------------------------------------------------
     Select Server Setup
     
     After the installation completes, for new installation server setup will be
     launched and for upgrade the server will be restarted automatically.
     
     The default value is "Manual Server Setup" which does not launch server setup
     or restart the server after installation.
     
     Select "Local Server Setup" to launch server setup after a new server
     installation or to restart the server after a server upgrade.
     
     Select "Remote Server Setup" to launch server setup in listen mode for new
     server installations. You will then be able to connect to the server with the
     Remote Server Setup tool.
     
          [ ] 1 - Local
          [ ] 2 - Remote
          [X] 3 - Manual
     
     To select an item enter its number, or 0 when you are finished: [0] 

<note important>Ici, il s'agit de choisir en tant qu'administrateur Lotus Domino.

La solution la plus simple est de choisir 2 - Remote, en tapant 2. Cependant cela induit d'avoir un poste sous Windows sur lequel est ou sera installé le client Lotus Notes 8.5 complet (Client / Admin / Designer) et on choisira une installation complète avec tous les éléments nécessaires, dont spécifiquement ici "Remote Setup".
</note>

Les WindoPhobes pourront choisir 1 - Local ou 3 - Manual. 
**Attention !!! 3 - Manual = Administrateurs avertis uniquement !!!**

     
     [X] 1 - Local
     [ ] 2 - Remote
     [ ] 3 - Manual
     
     To select an item enter its number, or 0 when you are finished: [0] 

Ici nous avons choisi de lancer un "Local Server Setup". Même pas peur.

     Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1] 

On continue en tapant 1

     
     -------------------------------------------------------------------------------
     Choose the setup type that best suits your needs.
     
     [ ] 1 - Domino Utility Server
             Installs a Domino server that provides application services only. Note
             that it does not include support for messaging services. See full
             licensing text for details.
                                                                                      
     [ ] 2 - Domino Messaging Server
             Installs a Domino server that provides messaging services. Note that it
             does not include support for application services or Domino clusters.
                                                                                      
     [X] 3 - Domino Enterprise Server
             Installs a Domino server that provides both messaging and application
             services.
                                                                                      
     [ ] 4 - Customize Domino Server
             Allows you to select the features you want to install.
     
     To select an item enter its number, or 0 when you are finished: [0] 

Ici chacun choisit ce qui lui est nécessaire. Nous avons choisi **"3 - Domino Enterprise Server"**

     Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1] 

On continue en tapant 1

     
     -------------------------------------------------------------------------------
     Lotus Domino will be installed in the following location:
     
             Program Files:        /opt/ibm/lotus
             Data Files:           /local/notesdata
             Domino Kit Type:      EnterpriseServer
     
             Unix Install Options:
                     User Name: notes
                     Group Name: notes
                     Install Data Only: No
                     Start Server Setup: Yes (Local)
     
     with the following features:
     
     Program Files
        Billing Support
        Clustering Support
     Data Files
        Required Templates
        Administration Templates
     
     Press ENTER to read the text [Type q to quit] 

On continue en tapant sur la touche "Entrée".

        Optional Templates
        Certificate Management
        Web Services Data Files
        Readme - NSF File
        Dojo
        XPages
     Domino Enterprise Connection Services
     Domino Offline Services
     Lotus iNotes
        Sametime Integration
     Resource Modeling Engine
     Help
     
     for a total size:
     
      1051,6 MB
     
     Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1] 

On continue en tapant sur la touche "Entrée"

     Checking Minimum OS Version
     Warning: 
     		*****************************************************
     		Domino does not support this system: 
     		
     		
     		*****************************************************
     
     Installing Lotus Domino. Please wait...
          
     |-----------|-----------|-----------|------------|
     0%         25%         50%         75%        100%
     |||||||||||||||


**Il ne faut pas se formaliser du Warning au sujet de la version d'OS.**

     Creating uninstaller...
     
     Configuring Domino Server from 
     Unix user name : notes
     Unix group name : notes
     Domino program directory: /opt/ibm/lotus
     Domino data directory: /local/notesdata
     
      WARNING:
      Please, set  DISPLAY otherwise Local Setup will not launch
     
     -------------------------------------------------------------------------------
     The InstallShield Wizard has successfully installed Lotus Domino. Choose Finish
     to exit the wizard.
     
     Press 3 to Finish or 4 to Redisplay [3] 

On continue en tapant sur la touche "Entrée"

     
     ./java -ss512k -Xoss5M -cp jhall.jar:cfgdomserver.jar:Notes.jar lotus.domino.setup.WizardManagerDomino -data /local/notesdata
     *Warning all runtime debug info will be logged to /local/notesdata/setuplog.txt
     Please edit your shell's DISPLAY environment variable to reflect an unlocked terminal that you would like to launch the  
     Domino Setup Program on.

     root@debian:/home/sources/linux/domino# 
